class CreateStickies < ActiveRecord::Migration
  def self.up
    create_table :stickies do |t|
      t.string :name
      t.integer :created_by_id
      t.integer :updated_by_id
      t.string :body
      t.integer :t_loc
      t.integer :l_loc
      t.string :backcolor
      t.string :font
      t.integer :zindex

      t.timestamps
    end
  end

  def self.down
    drop_table :stickies
  end
end
